package com.mercycrazy.recruit.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * 映射配置中心相关配置的 Bean: 不需要鉴权的 URL 的相关配置
 *
 * @author <a href="mailto:1443424326@qq.com">mercycrazy</a>
 * @since 2023-01-16
 */
@Configuration
@RefreshScope
@Data
@ConfigurationProperties(prefix = "auth.exclude")
public class AuthExcludeProperties {

    private List<String> urls;
}
